create_before_add_func

cpprb.create_before_add_func(env)

Create function to be used before ReplayBuffer.add

Parameters

env (gym.Env) – Environment for before_func

Returns

before_add – Function to be used before ReplayBuffer.add

Return type

callable